﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace DynamicWebProxy.EventArgs
{
    public class GenerateTestEventArgs
    {
        public string Source { get; private set; }

        public bool Available { get; private set; }

        public Uri Uri { get; private set; }

        public double Delay { get; private set; }

        public string TestUrl { get; private set; }

        public string Message { get; private set; }

        public Exception Exception { get; private set; }

        public GenerateTestEventArgs(string source = null, bool available = false, Uri uri = null, double delay = -1, string testUrl = null, string message = null, Exception exception = null)
        {
            Source = source;
            Available = available;
            Uri = uri;
            Delay = delay;
            TestUrl = testUrl;
            Message = message;
            Exception = exception;
        }
    }
}